package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帮扶信息对象 help_info
 *
 * @author ruoyi
 * @date 2023-01-29
 */
public class HelpInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 帮扶id
     */
    private Long id;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String stuName;

    /**
     * 学生微信
     */
    @Excel(name = "学生微信")
    private String stuWx;

    /**
     * 学生电话
     */
    @Excel(name = "学生电话")
    private String stuPhone;

    /**
     * 问题描述
     */
    @Excel(name = "问题描述")
    private String note;

    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /**
     * 性别 1男 0女
     */
    @Excel(name = "性别 1男 0女")
    private Integer sex;

    /**
     * 帮扶老师id
     */
    @Excel(name = "帮扶老师id")
    private Long teacherId;

    /**
     * 问题类型
     */
    @Excel(name = "问题类型")
    private Long typeId;

    /**
     * 问题状态
     */
    @Excel(name = "问题状态")
    private Long status;

    /**
     * 所在班级
     */
    @Excel(name = "所在班级")
    private Long className;

    /**
     * 完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /**
     * 教师备注
     */
    @Excel(name = "教师备注")
    private String comment;

    @Excel(name = "帮扶教师")
    private Teacher teacher;

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuWx(String stuWx) {
        this.stuWx = stuWx;
    }

    public String getStuWx() {
        return stuWx;
    }

    public void setStuPhone(String stuPhone) {
        this.stuPhone = stuPhone;
    }

    public String getStuPhone() {
        return stuPhone;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNote() {
        return note;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return sex;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setClassName(Long className) {
        this.className = className;
    }

    public Long getClassName() {
        return className;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getComment() {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stuName", getStuName())
                .append("stuWx", getStuWx())
                .append("stuPhone", getStuPhone())
                .append("note", getNote())
                .append("orderTime", getOrderTime())
                .append("sex", getSex())
                .append("teacherId", getTeacherId())
                .append("typeId", getTypeId())
                .append("status", getStatus())
                .append("className", getClassName())
                .append("finishTime", getFinishTime())
                .append("comment", getComment())
                .append("teacher", getTeacher())
                .toString();
    }
}
